﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 际海环境软件.Class
{
    class RegistService
    {
        public static string md5key = null;
        public static bool checkRegist()
        {
            string computer = ComputerInfo.GetComputerInfo();
            string encryptComputer = new EncryptionHelper().EncryptString(computer);
            md5key = new EncryptionHelper().GetMD5String(encryptComputer);
            return RegistFileHelper.CheckRegistData(md5key);
        }
    }
}
